package com.baibei.model;

import com.google.gson.annotations.SerializedName;

/**
 * K线数据
 */
public class KLineEntry {

    /**
     * day : 2017-05-10 14:55:00
     * open : 57.68
     * high : 58
     * low : 57.6
     * close : 57.99
     * volume : 148600
     */

    @SerializedName("time")
    private String day;
    private float open;
    private float high;
    private float low;
    private float close;
    @SerializedName("amount")
    private float volume;

    @SerializedName("turnover")
    private float amount;

    private long timeStamp;

    public String getDay() {
        return day;
    }

    public float getAmount() {
        return amount;
    }

    public void setAmount(float amount) {
        this.amount = amount;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public float getOpen() {
        return open;
    }

    public void setOpen(float open) {
        this.open = open;
    }

    public float getHigh() {
        return high;
    }

    public void setHigh(float high) {
        this.high = high;
    }

    public float getLow() {
        return low;
    }

    public void setLow(float low) {
        this.low = low;
    }

    public float getClose() {
        return close;
    }

    public void setClose(float close) {
        this.close = close;
    }

    public float getVolume() {
        return volume;
    }

    public void setVolume(float volume) {
        this.volume = volume;
    }

    public long getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(long timeStamp) {
        this.timeStamp = timeStamp;
    }
}
